package com.punch.oauth.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 小程序根据code换取openid
 */
@Data
public class WxLoginDTO implements Serializable {

    @ApiModelProperty(name = "uuid", required = true)
    private String uuid;

    @ApiModelProperty(name = "encrypdata")
    private String encrypdata;

    @ApiModelProperty(name = "ivdata")
    private String ivdata;

    @ApiModelProperty(name = "type", required = true)
    private Integer type;

    /**
     * 设备品牌
     */
    private String brand;

    /**
     * 设备型号
     */
    private String model;
    /**
     * 微信版本号
     */
    private String version;

    /**
     * 操作系统及版本
     */
    private String system;

    /**
     * 客户端平台
     */
    private String platform;
}
